Skip to content

Drive To Position Command#40

Open
VictorChen1-1 wants to merge 3 commits intoTeam488:mainfrom
VictorChen1-1:main
Open

Drive To Position Command#40
VictorChen1-1 wants to merge 3 commits intoTeam488:mainfrom
VictorChen1-1:main

Conversation

@VictorChen1-1
Copy link
Copy Markdown

Created new variables: currentPosition, goalPosition, error, power, p, d, errorOfPreviousStep, b, newGoalPosition
Simulation robot now tries to align itself with the red dot provided.
When robot goes past the red dot, it starts reversing to try it's best to align. When on the dot, speed is set to zero for a stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants